package com.zking.ssm.mapper;

import com.zking.ssm.model.SysRoler;
import com.zking.ssm.model.SysUserRoler;

public interface SysUserRolerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysUserRoler record);

    int insertSelective(SysUserRoler record);

    SysUserRoler selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUserRoler record);

    int updateByPrimaryKey(SysUserRoler record);


    //给用户分配角色
    int addRoleToUser(SysUserRoler s);

    //从用户撤销角色
    int toUserRemove(SysUserRoler s);





}